/**
 * 将一个字符串首字母转成大写
 */
exports.transitionInitial = function (str) {
    let temp = [...str];
    temp[0] = temp[0].toUpperCase();
    return temp.join('');
}